Page({

  data: {
    nbtitle:"首页",
    nbloding:false
  },

  onLoad(){
    wx.showNavigationBarLoading();
  },
  onShow(){
    wx.hideNavigationBarLoading()
    if (typeof this.getTabBar === 'function' && this.getTabBar()) {
      console.log(this.getTabBar());
      this.getTabBar().setData({
          current:"0"
      })
    }
  }

})